autocomplete: allow searching for VMs belonging to projects#185
autocomplete: allow searching for VMs belonging to projects#185bernardodemarco wants to merge 1 commit intoapache:mainfrom
Conversation
|
@shwstppr, can we include this one in the CMK 6.5 release? |
|
✅ Build complete for PR #185. 🔗 Download the cmk binaries (expires on September 01, 2025) |
|
@bernardodemarco |
|
I expect all the list behaviours to be consistent.
I think we could add global flag or global setting like
|
|
@bernardodemarco please check the suggestion from Wei. I guess it will be good to have the consistency. |
|
@weizhouapache @shwstppr, thanks for your review!
Yes, I totally agree. The problem, however, is that the ACS APIs themselves are not consistent regarding the
|
|
Thank you, @bernardodemarco, for looking into the suggestions. For now, I'm moving this PR to the next milestone to allow a bit more discussion and reach a consensus. |
|
thanks @shwstppr @DaanHoogland @bernardodemarco I agree with @shwstppr |

Currently, when searching for VMs through the CloudMonkey's autocomplete, VMs belonging to projects are not listed. For instance, below are listed all existing VMs of the cloud environment:
However, the projects' VMs are not listed as available options in the autocomplete.
This PR, therefore, adds the
projectid=-1parameter to thelistVirtualMachinesAPI call that is performed by CloudMonkey when fetching the existing VMs. With that, it is possible to select VMs that belong to projects: